<form #articleForm="ngForm" class="form-horizontal">

  <div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label">标题</label>
    <div class="col-sm-10">
      <input type="input" [(ngModel)]="article.title" name="title" class="form-control" id="inputEmail3" placeholder="标题">
    </div>
  </div>
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">标签</label>
    <div class="col-sm-10">
      <input type="input" [(ngModel)]="article.tags" name="tags" class="form-control" id="inputPassword3" placeholder="标签">
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">简介</label>
    <div class="col-sm-10">
      <input type="input" [(ngModel)]="article.summary" name="summary" class="form-control" placeholder="简介">
    </div>
  </div>

  <div class="form-group">
    <label class="col-sm-2 control-label">作者</label>
    <div class="col-sm-10">
      <input type="input" [(ngModel)]="article.author" name="author" class="form-control" placeholder="作者">
    </div>
  </div>

  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">内容</label>
    <div id="editorMd" (mouseleave)="getData()">
      <textarea style="display:none;" required="true" id="editorText" ></textarea>
    </div>
  </div>

  <div id="submit">
      <button (click)="onClickMe()" type="button" class="btn btn-primary" style="margin-bottom: 28px;width: 30%">提交</button>
  </div>
</form>
